﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>发送阻塞规则</title>
    <link href="../../../../DataUser/Style/ccbpm.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/icon.css" rel="stylesheet" type="text/css" />
    <link href="../../../Scripts/easyUI145/themes/default/easyui.css" rel="stylesheet" type="text/css" />
    <script src="../../../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/easyUI/jquery.easyui.min.js" type="text/javascript"></script>
    <script src="../../../Scripts/QueryString.js" type="text/javascript"></script>
    <script type="text/javascript" src="../../../Scripts/config.js"></script>
    <script type="text/javascript" src="../../../Comm/Gener.js"></script>
    <script src="DDLBar.js" type="text/javascript"></script>
    <script src="../../CCFlowEnum.js" type="text/javascript"></script>
    <script src="../../../Scripts/EasyUIUtility.js" type="text/javascript"></script>
    <script src="../../../Scripts/vue.js"></script>
    <script>
        $(function () {
            InitBar(BlockModel.ByExpressionBlock);
        });
         function Save() {
            var nodeID = GetQueryString("FK_Node");
            var node = new Entity("BP.WF.Node", nodeID);
             node.BlockModel = BlockModel.ByExpressionBlock;
             if (!$("#TB_Exp").val());
             node.BlockExp = $("#TB_Exp").val();
            node.Update();
            alert("保存完毕");
            window.location.href = window.location.href;
        }
    </script>
</head>
<body>
    <div id="bar">

    </div>
    <form id="cc">
        <fieldset>
            <legend>
                <label for="RB_BlockModel_4">按照表达式阻塞</label>
            </legend>
            <br />
            <input type="text" id="TB_Exp" name="TB_Exp" runat="server" style="width: 95%" />
        </fieldset>


        <fieldset id="help" >
            <legend id="help" >
                 帮助:
            </legend>

            <br />
            <div id="exp" style="color: Gray;">
                <ul>
                    <li>配置一个表达式, 比如: @MyFieldName = 1 该表达式成立的时候，系统就不能向下发送。 </li>
                    <li>表达式：@+字段名+空格+运算符+空格+值；字段名就是节点表单的所有字段，空格为英文状态下空格，运算符包含=、!=、>、>=、<、<=、LIKE </li>
                    <li>注意: 仅仅支持一个表达式 . 比如: @JinE > 10000 </li>
                </ul>
            </div>

        </fieldset>

    </form>
</body>
</html >
